The Status Structure
The status structure, of data typegxStatusRecord
, contains status information used with the status messagesGXJobStatus
,GXWriteStatusToDTPWindow
,GXInitializeStatusAlert
,GXHandleAlertEvent
, andGXHandleAlertStatus
. These messages are described in the section "Printing Messages Reference" beginning on page 4-9.
struct gxStatusRecord { unsigned short statusType; unsigned short statusId; unsigned short statusAlertId; Signature statusOwner; short statResId; short statResIndex; short dialogResult; unsigned short bufferLen; char statusBuffer[1]; }; typedef struct gxStatusRecord gxStatusRecord;Table 4-1 shows the status types that you can specify in a status record.
Field Description
statusType
- The type of status that this structure represents. This is one of the values shown in Table 4-1.
statusId
- The ID of the status that this structure represents. If the value of
this field is 0, there is no associated printing alert ('plrt'
) resource.statusAlertId
- The ID of the printing alert for this status.
statusOwner
- The creator type of the owner of this status structure.
statResId
- The resource ID for the status (
'stat'
) resource used to process this status.statResIndex
- The index value for indexing into the status resource for this status.
dialogResult
- The ID of the button string that was selected to dismiss the printing alert box associated with this status.
bufferLen
- The number of bytes in the status buffer.
statusBuffer
- This field is a buffer for the caller to store any additional information for use by the status-handling function.
- Note
- The triplet of values that includes the
statusOwner
,statResId
, andstatResIndex
fields must be unique for each status record.![]()
Main | Page One | What's New | Apple Computer, Inc. | Find It | Contact Us | Help